<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>{:config('apiAdmin.APP_NAME')} - 在线接口文档</title>
    <link href="https://cdn.bootcss.com/semantic-ui/2.2.11/semantic.css" rel="stylesheet">
</head>
<body>
<br />
<div class="ui text container" style="max-width: none !important;">
    <div class="ui floating message">
        <h1 class="ui header">{:config('apiAdmin.APP_NAME')} - 接口文档</h1>
        <a href="{:url('/wiki/errorCode')}">
            <button class="ui red button" style="margin-top: 15px">错误码说明</button>
        </a>
        <a href="{:url('/wiki/calculation')}">
            <button class="ui orange button" style="margin-top: 15px">算法详解</button>
        </a>
        <div class="ui floating message">
            <div class="content">
                <div class="header" style="margin-bottom: 15px">接口状态说明：</div>
                <p><span class='ui teal label'>测试</span> 系统将不过滤任何字段，也不进行AccessToken的认证，但在必要的情况下会进行UserToken的认证！</p>
                <p><span class='ui blue label'>启用</span> 系统将严格过滤请求字段，并且进行全部必要认证！</p>
                <p><span class='ui red label'>禁用</span> 系统将拒绝所有请求，一般应用于危机处理！</p>
            </div>
        </div>
        <div class="ui cards four column">
            <div class="card column">
                <a class="image" href="#">
                    <img src="http://static10.photo.sina.com.cn/middle/5a3ab1b1x9961016a8699&690">
                </a>
                <div class="content">
                    <a class="header">
                        XXX分组
                    </a>
                    <a class="meta">
                        <span class="group" style="font-size: 0.8em;">2017-07-17</span>
                    </a>
                    <a class="description" style="display: block;font-size: 0.8em;">
                        {php}
                        $vo['success_place_description'] = '需要啥需要啥需要啥需要啥需要啥需要啥需要啥需要啥需要啥需要啥需要啥需要啥';
                        $len = mb_strlen($vo['success_place_description'], 'utf8');
                        if($len > 31) {
                            echo mb_substr($vo['success_place_description'], 0, 31, 'utf8') . ' ...';
                        } else {
                            echo $vo['success_place_description'];
                        }
                        {/php}
                    </a>
                </div>
                <div class="extra content" style="font-size: 0.9em">
                    <a class="right floated created">
                        <i class="fire icon"></i>
                        热度29.1万
                    </a>
                    <a class="friends">
                        <i class="cubes icon"></i>
                        共190个接口
                    </a>
                </div>
            </div>
        </div>
        <p>&copy; Powered  By <a href="http://www.apiadmin.org/" target="_blank">{:config('apiAdmin.APP_NAME')} {:config('apiAdmin.APP_VERSION')}</a> <p>
    </div>
</div>
</body>
</html>